masonry structure analysis